package com.onepower.core.modules.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.onepower.core.modules.repository.entity.TkdMatch;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 比赛表 Mapper 接口
 * </p>
 *
 * @author kin
 * @since 2018-08-16
 */
public interface TkdMatchMapper extends BaseMapper<TkdMatch> {

    String selectScoreString(Integer matchId);

    List<TkdMatch> selectMatchList(Page<TkdMatch> page, Map map);

    List<TkdMatch> selectMatchListByMatchId(Page<TkdMatch> page, @Param("userId")Integer  userId);
}